package com.zsy.springframework.beans.facotry.jiekou.two;

import com.zsy.springframework.beans.facotry.exception.BeansException;
import com.zsy.springframework.beans.facotry.jiekou.one.BeanFactory;

import java.util.Map;

public interface ListableBeanFactory extends BeanFactory {

    //根据类型返回bean的实例
    <T> Map<String, T> getBeansOfType(Class<T> type) throws BeansException;

    String[] getBeanDefinitionNames();
}
